package com.pshcp.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 在线咨询会话
 * </p>
 *
 * @author auto generator
 * @since 2022-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OnlineSession对象", description="在线咨询会话")
public class OnlineSessionVO implements Serializable {

    private static final long serialVersionUID=1L;


    private Long id;

    private Long patientOnlineOrderId;

    @ApiModelProperty(value = "医生ID")
    private Long doctorId;

    @ApiModelProperty(value = "医生名称")
    private String doctorName;

    @ApiModelProperty(value = "患者id")
    private Long patientUserId;

    @ApiModelProperty(value = "患者id")
    private Long patientId;

    @ApiModelProperty(value = "患者名称")
    private String patientName;

    @ApiModelProperty(value = "1文字消息 2图片消息 4 音频消息")
    private Integer lastMsgType;

    @ApiModelProperty(value = "最近一次消息内容")
    private String lastMsgContent;

    @ApiModelProperty(value = "会话id")
    private String sessionId;

    @ApiModelProperty(value = "开始时间")
    private Long beginTime;

    @ApiModelProperty(value = "结束时间")
    private Long endTime;

    @ApiModelProperty(value = "会话状态：0待接诊 1接诊中 2已完成 3取消")
    private Integer sessionStatus;

    @ApiModelProperty(value = "状态 0正常 1删除")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
